import ajax from './ajax'
// const BASE_URL = 'http://localhost:3000'
const BASE_URL = ''
export const  reqLogin = (data,type)=>{
  return ajax(BASE_URL+'/api/users/login',data,type)
}

export const reqRegister = (data,type)=>{
  return ajax(BASE_URL+'/api/users/register',data,type)
}
